package com.pktechan.api.service.impl;

import com.pktechan.api.base.BaseMapper;
import com.pktechan.api.base.BaseServiceImpl;
import com.pktechan.api.dao.CustAddressMapper;
import com.pktechan.api.dao.CustBaseMapper;
import com.pktechan.api.entity.CustAddress;
import com.pktechan.api.entity.CustBase;
import com.pktechan.api.service.CustAddressService;
import com.pktechan.api.service.CustBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("custAddressService")
@Transactional
public class CustAddressServiceImpl extends BaseServiceImpl<CustAddress> implements CustAddressService {

    @Autowired
    private CustAddressMapper custAddressMapper;

    /**
     * 由业务类实现
     *
     * @return
     */
    @Override
    public BaseMapper<CustAddress> getBaseMapper() {
        return custAddressMapper;
    }
}
